package com.yimils.core.goods.serivce;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yimils.core.goods.dto.PersonAddReq;
import com.yimils.core.goods.dto.PersonUpdateReq;
import com.yimils.core.goods.entity.PersonEntity;
import com.yimils.core.goods.vo.PersonRes;

import java.util.List;

public interface PersonService extends IService<PersonEntity> {
    Boolean savePerson(PersonAddReq personAddReq);

    Boolean updatePerson(PersonUpdateReq personUpdateReq);

    Boolean deletePerson(List<Long> personIds);

    List<PersonRes> listPerson();

    List<PersonEntity> listPerson(List<Long> personIds);
}
